package com.hisense.ovcloud.warehouse.entity.julinkwarehouse;

import com.mybatisflex.annotation.Column;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OldDeviceWarehouse implements Serializable {
    @Column(value = "code")
    private long code;

    @Column(value = "device_id")
    private String device_id;

    @Column(value = "sub_domain")
    private String sub_domain;

    @Column(value = "public_key")
    private String public_key;

    @Column(value = "status")
    private int status;

    @Column(value = "batch_code")
    private String batch_code;

    @Column(value = "create_time", onInsertValue = "now()")
    private LocalDateTime create_time;

    @Column(value = "modify_time")
    private LocalDateTime modify_time;
}
